<include file="Public:top"/>
<div id="main-content" class="clearfix">

    <div id="breadcrumbs">
        <ul class="breadcrumb">
            <li><i class="icon-home"></i> <a href="{:U('Public/main')}">首页</a><span class="divider"><i
                    class="icon-angle-right"></i></span></li>
            <li><a href="__URL__">文章管理</a> <span class="divider"><i class="icon-angle-right"></i></span></li>
            <li class="active">文章列表</li>
        </ul>
    </div>
    <!--#breadcrumbs-->


    <div id="page-content" class="clearfix">

        <div class="page-header position-relative">
            <h1>文章列表
            </h1>
        </div>
        <!--/page-header-->


        <div class="row-fluid">
            <!--<h3 class="header smaller lighter blue">jQuery dataTables</h3>-->
            <div class="table-header">
            </div>

            <div id="table_report_wrapper" class="dataTables_wrapper" role="grid">
                <table id="table_report" class="table table-striped table-bordered table-hover dataTable"
                       aria-describedby="table_report_info">
                    <thead>
                    <tr role="row">
                        <th class="" role="columnheader" tabindex="0" aria-controls="table_report" rowspan="1"
                            colspan="1"
                            style="width: 158px;" aria-label="Domain: activate to sort column ascending">文章标题
                        </th>
                        <th class="hidden-phone " role="columnheader" tabindex="0"
                            aria-controls="table_report" rowspan="1"
                            colspan="1" style="width: 177px;" aria-sort="ascending"
                            aria-label=" Update: activate to sort column descending"><i
                                class="icon-time hidden-phone"></i> 添加时间
                        </th>
                        <th class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 254px;"
                            aria-label="">操作
                        </th>
                    </tr>
                    </thead>


                    <tbody role="alert" aria-live="polite" aria-relevant="all">
                    <volist name="list" id="vo">
                        <tr class="even">
                            <td class="">{$vo.title}</td>
                            <td class="hidden-phone  sorting_1">{$vo.add_time|date="Y-m-d H:i:s",###}</td>
                            <td class="hidden-phone  sorting_1">
                                <div class="hidden-phone visible-desktop btn-group">
                                    <!--<button class="btn btn-mini btn-success"><i class="icon-ok"></i></button>-->
                                    <button class="btn btn-mini btn-info"
                                            onclick="location = '__URL__/read/id/{$vo.id}'"><i class="icon-edit"></i>
                                    </button>
                                    <button class="btn btn-mini btn-danger"
                                            onclick="location = '__URL__/delete/id/{$vo.id}'"><i class="icon-trash"></i>
                                    </button>
                                    <!--<button class="btn btn-mini btn-warning"><i class="icon-flag"></i></button>-->
                                </div>
                                <div class="hidden-desktop visible-phone">
                                    <div class="inline position-relative">
                                        <button class="btn btn-minier btn-yellow dropdown-toggle"
                                                data-toggle="dropdown"><i
                                                class="icon-caret-down icon-only"></i></button>
                                        <ul class="dropdown-menu dropdown-icon-only dropdown-yellow pull-right dropdown-caret dropdown-close">
                                            <li><a href="__URL__/read/id/{$vo.id}" class="tooltip-success"
                                                   data-rel="tooltip" title="Edit"
                                                   data-placement="left"><span
                                                    class="green"><i class="icon-edit"></i></span></a></li>
                                            <!--<li><a href="#" class="tooltip-warning" data-rel="tooltip" title="Flag"-->
                                            <!--data-placement="left"><span-->
                                            <!--class="blue"><i class="icon-flag"></i></span> </a></li>-->
                                            <li><a href="__URL__/delete/id/{$vo.id}" class="tooltip-error"
                                                   data-rel="tooltip" title="Delete"
                                                   data-placement="left"><span
                                                    class="red"><i class="icon-trash"></i></span> </a></li>
                                        </ul>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
                <div class="row-fluid">
                    {$page}
                </div>
            </div>

        </div>


        <!--/.fluid-container#main-container-->
        <include file="Public:bottom"/>